# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=stompy
pkgver=0.0.4
pkgrel=3
pkgdesc='An advanced utility to test the quality of WWW session identifiers and other tokens that are meant to be unpredictable.'
url='http://lcamtuf.coredump.cx/'
groups=('blackarch' 'blackarch-misc')
license=('GPL')
depends=('openssl')
arch=('x86_64' 'aarch64')
source=("http://lcamtuf.coredump.cx/soft/$pkgname.tgz")
sha512sums=('b7c6859803011572582e0460b4c5cd04ec8eb85b7ba761e9d2aa3af4ccd16aded7a00109899d2f6510bed89bcbfbcb7523821f556fae9ee3f1da4386274e10f4')

build() {
  cd $pkgname

  make
}

package(){
  cd $pkgname

  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
  install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" doc/README
}

